package com.sddongyun.service;

import com.sddongyun.common.CDResponse;
import com.sddongyun.common.entity.JHQrcodeRequest;
import com.sddongyun.common.openServerResponse;

import org.apache.cxf.binding.soap.SoapVersion;
import org.springframework.stereotype.Component;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.ws.BindingType;
import java.util.Map;
import java.util.SortedMap;

/**
 * Created by lenovo on 2019/4/17.
 */

@WebService(name = "PayServer", // 暴露服务名称
        targetNamespace = "http://service.sddongyun.com"// 命名空间,一般是接口的包名倒序
)
@Component
public interface PayService {
    //二维码生成
    @WebMethod
    public openServerResponse OpenServer(@WebParam(name = "arg0") SortedMap<String, String> arg0);
    //建行二维码生成
    @WebMethod
    public openServerResponse JH_GetQrcode(@WebParam(name = "arg0") JHQrcodeRequest arg0);
    //建行查询
    @WebMethod
    public openServerResponse JH_QueryOrder(@WebParam(name = "arg0") JHQrcodeRequest arg0);
    //建行退款
    @WebMethod
    public openServerResponse JH_RefundOrder(@WebParam(name = "arg0") JHQrcodeRequest arg0);

   @WebMethod
    public openServerResponse JH_CloseOrder(@WebParam(name = "arg0") JHQrcodeRequest arg0);

    @WebMethod
    public String getYBDY(@WebParam(name = "arg0") String arg0);
    @WebMethod
    public String getJSYBDY(@WebParam(name = "arg0") String arg0);

    @WebMethod
    public CDResponse ydjy_common_register_cancel(@WebParam(name = "zzjcode")String zzjcode,@WebParam(name = "zzjname")String zzjname, @WebParam(name = "akc190") String akc190, @WebParam(name = "aac002") String aac002, @WebParam(name = "aac003") String aac003);
    @WebMethod
    public CDResponse ydjy_common_inpatientleave_cancel(@WebParam(name = "zzjcode")String zzjcode,@WebParam(name = "zzjname")String zzjname,@WebParam(name = "akc190") String akc190,@WebParam(name = "bcc002") String bcc002,@WebParam(name = "bcc001") String bcc001,@WebParam(name = "aac002")String aac002 );

}
